Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-DeviceUseStatement3to2.html |
Url | http://hl7.org/fhir/StructureMap/DeviceUseStatement3to2 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | DeviceUseStatement3to2 |
Title | DeviceUseStatement Transforms: R3 to R2 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | DeviceUseStatementTransformsR3toR2 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/DeviceUseStatement3to2' /// name = 'DeviceUseStatement3to2' /// title = 'DeviceUseStatement Transforms: R3 to R2' /// status = 'active' uses "http://hl7.org/fhir/3.0/DeviceUseStatement" alias DeviceUseStatement as source uses "http://hl7.org/fhir/1.0/DeviceUseStatement" alias DeviceUseStatementR2 as target imports "http://hl7.org/fhir/StructureMap/*3to2" group DeviceUseStatement(source src : DeviceUseStatement, target tgt : DeviceUseStatementR2) extends DomainResource <<type+>> { src.bodySite : CodeableConcept as vs -> tgt.bodySite = create('CodeableConcept') as vt then CodeableConcept(vs, vt) "DeviceUseStatement-bodySite-CodeableConcept"; src.whenUsed -> tgt.whenUsed "DeviceUseStatement-whenUsed"; src.device -> tgt.device "DeviceUseStatement-device"; src.identifier -> tgt.identifier "DeviceUseStatement-identifier"; src.indication -> tgt.indication "DeviceUseStatement-indication"; src.note as n then dusNote(n, tgt) "DeviceUseStatement-notes"; src.recordedOn -> tgt.recordedOn "DeviceUseStatement-recordedOn"; src.subject -> tgt.subject "DeviceUseStatement-subject"; src.timing -> tgt.timing "DeviceUseStatement-timing"; } group dusNote(source src, target tgt) extends BackboneElement { src.text -> tgt.notes "note-notes"; }
{
"resourceType" : "StructureMap",
"id" : "DeviceUseStatement3to2",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/DeviceUseStatement3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'DeviceUseStatement3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'DeviceUseStatement Transforms: R3 to R2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/DeviceUseStatement<span style=\"color: navy\">" </span><b>alias </b>DeviceUseStatement <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/DeviceUseStatement<span style=\"color: navy\">" </span><b>alias </b>DeviceUseStatementR2 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*3to2<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>DeviceUseStatement<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>DeviceUseStatement, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>DeviceUseStatementR2<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.bodySite<span style=\"color: navy\"> : </span>CodeableConcept<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>tgt.bodySite = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>CodeableConcept<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"DeviceUseStatement-bodySite-CodeableConcept"</i><span style=\"color: navy\">;</span>\r\n src.whenUsed<span style=\"color: navy\"><b> -> </b></span>tgt.whenUsed <i>"DeviceUseStatement-whenUsed"</i><span style=\"color: navy\">;</span>\r\n src.device<span style=\"color: navy\"><b> -> </b></span>tgt.device <i>"DeviceUseStatement-device"</i><span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"DeviceUseStatement-identifier"</i><span style=\"color: navy\">;</span>\r\n src.indication<span style=\"color: navy\"><b> -> </b></span>tgt.indication <i>"DeviceUseStatement-indication"</i><span style=\"color: navy\">;</span>\r\n src.note<b> as </b><span style=\"color: maroon\">n</span><b> then </b>dusNote<span style=\"color: navy\">(</span><span style=\"color: maroon\">n</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span> <i>"DeviceUseStatement-notes"</i><span style=\"color: navy\">;</span>\r\n src.recordedOn<span style=\"color: navy\"><b> -> </b></span>tgt.recordedOn <i>"DeviceUseStatement-recordedOn"</i><span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"><b> -> </b></span>tgt.subject <i>"DeviceUseStatement-subject"</i><span style=\"color: navy\">;</span>\r\n src.timing<span style=\"color: navy\"><b> -> </b></span>tgt.timing <i>"DeviceUseStatement-timing"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>dusNote<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.text<span style=\"color: navy\"><b> -> </b></span>tgt.notes <i>"note-notes"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/DeviceUseStatement3to2",
"version" : "0.1.0",
"name" : "DeviceUseStatement3to2",
"title" : "DeviceUseStatement Transforms: R3 to R2",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "DeviceUseStatementTransformsR3toR2",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/3.0/DeviceUseStatement",
"mode" : "source",
"alias" : "DeviceUseStatement"
},
{
"url" : "http://hl7.org/fhir/1.0/DeviceUseStatement",
"mode" : "target",
"alias" : "DeviceUseStatementR2"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*3to2"
],
"group" : [
{
"name" : "DeviceUseStatement",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "DeviceUseStatement",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "DeviceUseStatementR2",
"mode" : "target"
}
],
"rule" : [
{
"name" : "DeviceUseStatement-bodySite-CodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "bodySite",
"variable" : "vs"
}
],
"target" : [
{
"context" : "tgt",
"element" : "bodySite",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"dependent" : [
{
"name" : "CodeableConcept",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "DeviceUseStatement-whenUsed",
"source" : [
{
"context" : "src",
"element" : "whenUsed",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "whenUsed",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceUseStatement-device",
"source" : [
{
"context" : "src",
"element" : "device",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "device",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceUseStatement-identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceUseStatement-indication",
"source" : [
{
"context" : "src",
"element" : "indication",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "indication",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceUseStatement-notes",
"source" : [
{
"context" : "src",
"element" : "note",
"variable" : "n"
}
],
"dependent" : [
{
"name" : "dusNote",
"parameter" : [
{
"valueId" : "n"
},
{
"valueId" : "tgt"
}
]
}
]
},
{
"name" : "DeviceUseStatement-recordedOn",
"source" : [
{
"context" : "src",
"element" : "recordedOn",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "recordedOn",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceUseStatement-subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "DeviceUseStatement-timing",
"source" : [
{
"context" : "src",
"element" : "timing",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "timing",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "dusNote",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "note-notes",
"source" : [
{
"context" : "src",
"element" : "text",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "notes",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.